//
//  CarTableViewCell.m
//  19-CarHomeWork
//
//  Created by 曹曹 on 16/8/9.
//  Copyright © 2016年 曹曹. All rights reserved.
//

#import "CarTableViewCell.h"
#import "GXList.h"
#import "UIImageView+DownloadImage.h"
#import "MainCollectionViewCell.h"

@interface CarTableViewCell ()
@end

@implementation CarTableViewCell


- (void)setList:(GXList *)list {
    _list = list;
    if (_list) {
        _carLabel.text = list.name;
        [_carImageView asyncDownloadImageWithURL:list.imgurl
                               completionHandler:^(NSData *data, UIImage *image) {
                               }];
    }
}



- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
